﻿<%@ Page Language="C#" MasterPageFile="~/FrameMasterPage.master" AutoEventWireup="true" CodeFile="worOrderRequestIntranet.aspx.cs" Inherits="worOrderRequestIntranet" Title="Untitled Page" %>
<%@ Register Assembly="EclipseWebSolutions.DatePicker" Namespace="EclipseWebSolutions.DatePicker"
    TagPrefix="ews" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="m_contentBody" Runat="Server">

<table width="100%"><tr><td align="center">
    <table width="90%" border="0" cellpadding="0" cellspacing="0" 
        style="height: 152px">
       
       
        <tr>
            <td valign="top">
                <br /> <br/>  <br/>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <img src="images/pnlTitle1Left.png" alt="" width="6" height="24"/></td>
                        <td style="width:100%" class="txtHeader" align="center">
                            <asp:Label ID="lblCodeNumber" runat="server"></asp:Label> </td>
                        <td align="right">
                            <img src="images/pnlTitle1Right.png" alt="" width="6" height="24"/></td>
                    </tr>
                </table>
                <table width="100%" border="0" cellpadding="3" cellspacing="0" 
                    style="height: 73px">
                     <tr>
        <td align="left" style="width: 165px" class="Description">
            Equipment ID</td>
        <td align="left" class="Description">
            <asp:TextBox ID="txtEquipCodeNumber" runat="server" AutoPostBack="True" 
                Height="17px" ontextchanged="txtWorkOrderNumber_TextChanged" Width="175px"></asp:TextBox>
            &nbsp;
        </td>
    
    <tr>
        <td align="left" style="width: 165px" class="Description">
            Problem Group</td>
        <td align="left" class="Description">
            <asp:DropDownList ID="drlProblem" runat="server" Height="25px" 
                Width="180px" AutoPostBack="True" Enabled="False">
                <asp:ListItem Value="13">Other error</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblRequiredDepartment" runat="server" ForeColor="Red" 
                Visible="False"></asp:Label>
            &nbsp;
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 165px; height: 60px;" class="Description">
            Problem</td>
        <td align="left" style="height: 60px" class="Description">
            <asp:TextBox ID="txtNewProblem" runat="server" Height="59px" Width="175px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 165px" class="Description">
            Criteria
        </td>
        <td align="left" class="Description">
            <asp:DropDownList ID="drlCriteria" runat="server" AppendDataBoundItems="True" 
                DataSourceID="odsCriteria" DataTextField="CriteriaLabel" 
                DataValueField="CriteriaId" Height="25px" Width="180px">
                <asp:ListItem Value="-1">--- Choose a criteria ---</asp:ListItem>
            </asp:DropDownList>
            <asp:ObjectDataSource ID="odsCriteria" runat="server" 
                SelectMethod="GetCriterias" TypeName="Service.WorkOrderService">
            </asp:ObjectDataSource>
            <asp:Label ID="lblRequiredCriteria" runat="server" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="left" style="width: 165px" class="Description">
            &nbsp;Required date(mm/dd/yy)</td>
        <td align="left" class="Description">
            <%--<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <ews:DatePicker ID="txtRequiredDate" runat="server" 
                        DateFormatString="MM/dd/yyyy" />
                </ContentTemplate>
            </asp:UpdatePanel>--%>
            
            <asp:TextBox ID="txtRequiredDate" runat="server" Width="76px"></asp:TextBox>
            <asp:Image ID="imgCalendar" runat="server" ImageUrl="~/images/calendar.png" />
            <cc2:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtRequiredDate" PopupButtonID="imgCalendar">
            </cc2:CalendarExtender> 
            
            
            <asp:Label ID="lblRequiredRequestDate" runat="server" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    
    <tr>
        <td align="left" style="width: 165px; height: 60px;" class="Description">
           </td>
        <td align="left" style="height: 60px" class="Description">
            <asp:Button ID="btnValidate" runat="server" BorderStyle="Dotted" 
                CssClass="btnexpress" Height="25px" onclick="btnValidate_Click" Text="Validate" 
                Width="71px" />
            &nbsp;<asp:Button ID="btnCancel" runat="server" BorderStyle="Dotted" 
                CssClass="btnexpress" Height="25px" onclick="btnCancel_Click" Text="Cancel" 
                Width="58px" />
                <asp:Button ID="btnNext" runat="server" BorderStyle="Dotted" 
                CssClass="btnexpress" Height="25px" onclick="btnNext_Click" Text="Next" 
                Width="58px" />
            &nbsp;<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" 
                TargetControlID="btnValidate" ConfirmText="Are you sure to add this work order?">
            </cc1:ConfirmButtonExtender>
        </td>
    </tr>
    <tr>
        
        <td align="left" colspan="2" class="Description">
            <asp:Label ID="lblInformation" runat="server" ForeColor="Red"></asp:Label>
            <asp:TextBox ID="txtHiddenEquipmentType" runat="server" Enabled="False" 
                Height="17px" Visible="False" Width="175px"></asp:TextBox>
            <asp:Label ID="lblPermission" runat="server" ForeColor="#CC0000"></asp:Label>
        </td>
    </tr>
    </table></br>
           </td>
           </tr>
           </table>
                    
                    


    

  
    
</asp:Content>

